<?php

class Top_category extends CI_Controller {

    public function __construct(){
        parent::__construct();
    }

	public function index()
	{

			$this->load->Model("Mtop_category");
        $data['topcategory']=$this->Mtop_category->listAll();

        $this->load->view("frontend/_block/top_category",$data);
	}
}